Mollie\WooCommerce\Shared\Data C

Total Complexity 110
Dependencies 12
Dependents 18
Total lines 745
Lines of code 398
Logical lines of code 227
Comment lines 193
Methods 37
Properties 8

Methods 37

Method Rating Maintainability Complexity Lines of code
getUserMollieCustomerId()
A
41 13 51
getApiPaymentMethods()
A
44 10 41
getAllAvailablePaymentMethods()
A
48 8 34
isWcSubscription()
A
58 9 16
getMethodIssuers()
S
55 7 17
addRecurringPaymentMethods()
S
56 6 19
wooCommerceFiltersForCheckout()
S
55 5 20
getFilters()
S
51 4 28
getCachedMethodById()
S
60 4 14
setUserMollieCustomerId()
S
60 3 13
getAllPaymentMethods()
S
63 3 11
getPaymentMethod()
S
62 3 11
getRecurringPaymentMethods()
S
67 3 7
getRegularPaymentMethods()
S
69 3 7
getMethodWithIssuersById()
S
63 3 10
getTransientId()
S
63 2 10
getPayment()
S
65 2 8
setUserMollieCustomerIdAtSubscription()
S
67 2 8
isValidApiKeyProvided()
S
66 2 9
isBlockPluginActive()
S
80 1 3
isSubscription()
S
74 1 4
formatCurrencyValue()
S
79 1 3
restoreOrderStock()
S
81 1 3
getActiveMolliePaymentMode()
S
75 1 4
isSubscriptionPluginActive()
S
75 1 4
pluginPath()
S
82 1 3
getOrderCurrency()
S
81 1 3
getApiKey()
S
80 1 3
processSettings()
S
81 1 3
getGlobalSettingsUrl()
S
81 1 3
getPluginId()
S
82 1 3
getAmountValue()
S
73 1 6
isTestModeEnabled()
S
81 1 3
getCurrentLocale()
S
79 1 3
getPaymentLocale()
S
81 1 3
processAdminOptions()
S
81 1 3
__construct()
S
69 1 7